<template>
	<div id="app" scroll="no" >
		<el-container horizontalScrollPolicy="off">
			<el-container>
				<el-aside width="230px">
					<div style="height: 55px;"></div>
					<div>
						<myaside></myaside>
					</div>
				</el-aside>
				<el-container>
					<el-header>
						<el-row style="border: #333333 5px;">
							<el-col :span="4">
								<div class="grid-content bg-purple">
									<el-tag style="width:100%;height:60px; text-align: center;">
										<div style="position: relative; top: 25%; font-size: 13px;"><datetime></datetime></div>
									</el-tag>
								</div>
							</el-col>
							<el-col :span="16">
								<div class="grid-content bg-purple-light" style="text-align: center;">
									<el-tag style="width: 100%;height:60px; "><div style="position: relative; top: 25%; font-size: 25px;">懒人服务后台管理系统</div></el-tag>
								</div>
							</el-col>
							<el-col :span="4">
								<div class="grid-content bg-purple">
									<div class="grid-content bg-purple">
										<el-tag style="width: 100%;height:60px; text-align: center;">
											<login></login>
											<div style="position: relative; top: 15%; font-size: 13px;">
												<deletlogin></deletlogin>
												<!-- <mealInfoDetail></mealInfoDetail> -->
												</div>
											
										</el-tag>
									</div>
								</div>
							</el-col>
						</el-row>
					</el-header>
					<el-main>
						<RouterView></RouterView>
					</el-main>
				</el-container>
			</el-container>
		</el-container>
	</div>
</template>
<script>
	import login from '@/components/login/Login.vue'
	import myaside from '@/views/myaside/myaside.vue'
	import datetime from '@/components/date_time/Date_time.vue'
	import deletlogin from '@/components/delet_login/Delet_login.vue'
	// import mealInfoDetail from '@/components/meal_info/Meal_info_detail.vue'
	export default {
		name: 'App',
		components: {
			myaside: myaside,
			datetime,
			login,
			deletlogin
			// mealInfoDetail
		},
		data() {
			const item = {
				date: '2016-05-02',
				name: '王小虎',
				address: '上海市普陀区金沙江路 1518 弄'
			};
			return {
				tableData: Array(20).fill(item)
			}
		}
	}
</script>
<style>
	/*  .el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
  } */
	*{
		margin: 0;
		padding: 0;
	}
	.el-aside {
		background-color: #FFFFFF;
		color: #333;
		text-align: center;
		line-height: 200px;
		height: 900px;
	}

	.el-main {
		background-color: white;
		color: #333;
		text-align: center;
		line-height: 160px;
		height: 900px;
	}

	body>.el-container {
		margin-bottom: 40px;
	}

	.el-container:nth-child(5) .el-aside,
	.el-container:nth-child(6) .el-aside {
		line-height: 260px;
	}

	.el-container:nth-child(7) .el-aside {
		line-height: 320px;
	}
</style>
